package com.softeem.god.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 黑名单实体类
 */
@Schema(name = "黑名单")
@TableName(value = "blacklist")
@Data
public class Blacklist {
    /**
     * 黑名单ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(name = "id", description = "黑名单ID")
    private Integer id;

    /**
     * 用户ID
     */
    @Schema(name = "userId", description = "用户ID")
    private Integer userId;

    /**
     * 拉黑原因
     */
    @Schema(name = "reason", description = "拉黑原因")
    private String reason;

    /**
     * 创建时间
     */
    @Schema(name = "createTime", description = "创建时间")
    private Date createTime;

    /**
     * 操作人
     */
    @Schema(name = "operator", description = "操作人")
    private String operator;
}